import Vue from "vue";
import VueI18n from "vue-i18n";
Vue.use(VueI18n);

const i18n = new VueI18n({
  locale: localStorage.languageType,
  messages: {
    zh: require("utils/language/zh.json"),
    en: require("utils/language/en.json"),
    ja: require("utils/language/ja.json"),
    ko: require("utils/language/ko.json")
  }
});

export default i18n
